<%@page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" href="img/logo.png"/>
    <title>ASSET ADMIN</title>
    <link href="css/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" href="css/mmss.css"/>
    <link rel="stylesheet" href="css/font-awesome.min.css"/>
    <style>
    </style>
	<title>Insert title here</title>
</head>
<body>
	<div id="workspace" class="col-xs-12">
                <br/>
                <ol class="breadcrumb">
                    <li><a href="index.jsp"><span class="glyphicon glyphicon-home"></span>&nbsp;后台首页</a></li>
                    <li class="active">用户管理-增添用户</li>
                </ol>
                <div class="row">
  			<div class="col-md-2"></div>
  			<div class="col-md-2"></div>
  			<div class="col-md-2">
  				 <button data-toggle="modal" data-target="#myModal" type="button" class="btn btn-default btn-xl dropdown-toggle" 
			data-toggle="dropdown">
  					点击新增！
  				 </button>	
  			</div>
  			<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<h4 class="modal-title" id="myModalLabel">
					新增用户信息：
				</h4><br>
				<form class="bs-example bs-example-form" action="user.con" method="POST" role="form">
					<div class="form-group">
            			<input type="hidden" name="work" value="addUser" />
            		</div>
					<div class="input-group">
						<span class="input-group-addon">名字</span>
						<input type="text" name="userName" class="form-control">
					</div>
					<br>
					<div class="input-group">
						<span class="input-group-addon">密码</span>
						<input type="password" name="pwd" class="form-control">
					</div><br>
					<div class="input-group">
						<span class="input-group-addon">类型</span>
						<input type="text" name="category" class="form-control">
					</div><br>
					<div class="input-group">
					<span class="input-group-addon">权限</span>
					<select name="belong_to" class="form-control input-lg">
			 			 <option value="0">权限列表</option>
			 			 <option value="1 ">1.校级管理处</option>
			 			 <option value="2">2.网安学院</option>
			 			 <option value="3">3.光电学院</option>
				      	 <option value="4">4.控制工程学院</option>
			 			 <option value="5">5.软件学院</option>
			  			 <option value="6">6.英语学院</option>
			  			 <option value="7">7.校外单位</option>
			 		 </select>
					</div><br>
					<div class="row">
        			 <div class="col-md-4"></div>
       				  <div class="col-md-4">
        			  <button class=" btn btn-warning"><a href="index.jsp">关闭新增</a></button>
         			 <button class="success pull-right submit btn btn-success">确认提交</button>
        			 </div>
         			 <div class="col-md-4"></div>
					  </div>
				</form>
			</div>
			
			</div><!-- /.modal-content -->
		</div><!-- /.modal -->
		</div>
  			<div class="col-md-2">
  			<a href="index.jsp">
  			<button class=" btn btn-default">
  				取消新增！
  			</button>
  			</a>
  			</div>
  			<div class="col-md-2"></div>
  			<div class="col-md-2"></div>
		</div>
	</div>
</body>
</html>